package com.append.design;

public class Person2 extends Person{
	
	public void functionA() {
		System.out.println("子类方法a");
	}
	
	public void functionC() {
		System.out.println("子类方法c");
	}
	public static void main(String[] args) {
		Person p = new Person2();
		p.functionB();
	}

}
